package com.hdg.boot.service;

import com.hdg.boot.bo.XirMdBo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface XirMdService {
    /**
     * 添加数据
     * @param list
     */
    void addXirMd(List<XirMdBo> list);

    /**
     * excal文件上传
     */
    void upload(MultipartFile file) throws IOException,RuntimeException;

    /**
     * 数据上传对比
     * @param file
     */
    void dataComparison(MultipartFile file) throws Exception;


    /**
     * 下载数据
     * @param response
     * @param filetype
     */
    void download(HttpServletResponse response, String filetype) throws IOException;
}
